home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / LISTLOCALROLES.DTML < prev    next >
Encoding:
Text File  |  1999-11-03  |  2.6 KB  |  98 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <html lang="en">
  3. <head>
  4. <title>Manage Local Roles</title>
  5. </head>
  6. <body bgcolor="#FFFFFF" link="#000099" vlink="#555555" alink="#77003B">
  7. <dtml-if manage_tabs>
  8. <dtml-var manage_tabs>
  9. </dtml-if>
  10.  
  11. <dtml-if stat>
  12. <hr>
  13. <font color="red"><dtml-var stat></font>
  14. <hr>
  15. </dtml-if>
  16.  
  17. <p>
  18. <strong>Local roles</strong> allow you to give particular users extra roles 
  19. in the context of this object, in addition to the roles they already have. 
  20.  
  21. <dtml-if has_local_roles>
  22. <br>
  23. The following users have been given local roles. To modify the local roles 
  24. given to a particular user, click on the name of the user. To remove all 
  25. local roles from a user, select the checkbox next to the name of the user 
  26. and click the <em>Remove</em> button.
  27. </p>
  28. <form action="manage_delLocalRoles" method="POST">
  29. <table cellspacing="2" border="0">
  30. <dtml-in get_local_roles>
  31. <tr>
  32.   <td align="left" valign="top">
  33.   <input type="checkbox" name="userids:list" value="<dtml-var sequence-key html_quote>">
  34.   </td>
  35.   <td align="left" valign="top">
  36.   <a href="manage_editLocalRoles?userid=<dtml-var sequence-key 
  37.    fmt="url-quote">"><dtml-var sequence-key></a> (<dtml-in 
  38.    sequence-item><dtml-var sequence-item><dtml-unless 
  39.    sequence-end>, </dtml-unless></dtml-in>)
  40.   </td>
  41. </tr>
  42. </dtml-in>
  43. <tr>
  44.   <td align="left" valign="top">
  45.   </td>
  46.   <td align="left" valign="top">
  47.   <input type="submit" value="Remove">
  48.   </td>
  49. </tr>
  50. </table>
  51. </form>
  52. </dtml-if>
  53.  
  54. <p>
  55. To give a user extra roles when accessing this object (and its children), 
  56. select a user from the <em>User</em> list below, select the extra 
  57. roles that should be given to that user from the <em>Roles</em> list.
  58.  
  59. <form action="manage_setLocalRoles" method="POST">
  60. <table cellspacing="2" border="0">
  61. <tr>
  62.   <td align="left" valign="top">
  63.   <strong>User</strong>
  64.   <br>
  65.   <select name="userid" size="5">
  66.   <dtml-in get_valid_userids>
  67.   <option value="<dtml-var sequence-item html_quote>"><dtml-var sequence-item>
  68.   </dtml-in>
  69.   </select>
  70.   </td>
  71.  
  72.   <td align="left" valign="top">
  73.   <strong>Roles</strong>
  74.   <br>
  75.   <select name="roles:list" size="5" multiple>
  76. <dtml-in valid_roles><dtml-if 
  77. "_vars['sequence-item'] not in ('Anonymous', 'Shared')">
  78. <option value="<dtml-var sequence-item html_quote>"><dtml-var sequence-item>
  79. </dtml-if>
  80. </dtml-in>
  81.   </select>
  82.   </td>
  83. </tr>
  84. <tr>
  85.   <td align="left" valign="top">
  86.   <input type="submit" value="Add">
  87.   </td>
  88.   <td></td>
  89. </tr>
  90. </table>
  91. </form>
  92.  
  93.  
  94.  
  95.  
  96. </body>
  97. </html>
  98.